package com.itheima.iu;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 描述:
 *
 * @Author：iu
 * @Package：com.itheima.iu
 * @name：helloword
 * @Date：2022/11/19 2:36
 */
@RestController
@RequestMapping("/hello")
public class helloword {

    @GetMapping
    public String hello(){
        System.out.println("Hello world");
        return "OK";
    }
}
